package org.hzz.application.command;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hzz.application.handler.UpdateCouponCmdHandler;

/**
 * @author <a href="mailto:1193094618@qq.com">pkmer</a>
 * <br>
 * <a href = "https://gitee.com/developeros/videos-online">Code Repository</a>
 * At 2024/8/31
 *
 * 更新优惠券
 * {@link UpdateCouponCmdHandler}
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class UpdateCouponCmd extends AbstractCouponCmd{
    public static final String MARK = UpdateCouponCmd.class.getName();

    // 优惠券id
    Long id;

    @Override
    public String mark() {
        return MARK;
    }
}
